import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {InstantMessagingComponent} from './instant-messaging.component';
const routes: Routes = [
    {path: '', component: InstantMessagingComponent,
        children: [
            {path: '', redirectTo: 'ins-messaging', pathMatch: 'full'},
            // this line is use for generator path, don't remove
            {path: 'ins-messaging', loadChildren: './ins-messaging/ins-messaging.module#InsMessagingModule'},
        ]
    }
];
@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class InstantMessagingRoutingModule {
}
